<?php
setcookie('name','213110501',time()+365*24*60*60);
setcookie('pwd','118jyl',time()+365*24*60*60);
setcookie('rememberMe','on',time()+365*24*60*60);

echo '<pre>',print_r($_COOKIE,true),'</pre>';